package com.yumeng.framework.data.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.yumeng.common.data.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wxd
 * @date 2021/5/25 10:50
 */
@Getter
@AllArgsConstructor
public enum Status2Flag implements BaseEnum {


    /** 启用 **/
    ENABLE(1, "启用"),
    /** 禁用 **/
    DISABLE(2, "禁用");

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String desc;
}
